﻿@{
    ViewBag.Title = "主界面";
    Layout = "~/Views/Shared/_LayoutBase.cshtml";
}
@section styles{
<style>
    /**-----public------*/
    * {
        margin: 0 auto;
        padding: 0;
    }

    body {
        font-family: '微软雅黑';
        min-width: 980px;
        font-size: 14px;
    }

    ul {
        list-style: none;
        margin: 0 auto;
        padding: 0;
    }

    li {
        list-style: none;
        margin: 0 auto;
        padding: 0;
    }

    img {
        border: 0;
    }

    dl, dt, dd, span {
        margin: 0;
        padding: 0;
    }

    a, a:focus {
        text-decoration: none;
        color: #000;
        outline: none;
        blr: expression(this.onFocus=this.blur());
    }

        a:hover {
            color: #1976de;
            text-decoration: none;
        }

    table {
        border-collapse: collapse;
        border-spacing: 0;
    }

    cite {
        font-style: normal;
    }

    h2 {
        font-weight: normal;
    }
    #bbp{float:right;  width:60%;     }
#bbp #title{ color:#c30d57; font-size:20px; }

.index_menu li{ float:left; width:25%;text-align:center; margin-top:60px;}
.index_menu li div{ width:90px; height:90px;  line-height:90px; background:#333; border-radius:100px; margin-bottom:5px;}
.index_menu li div i{ color:#FFF; font-size:35px;}

.index_menu li:nth-child(1) div{ background:#fc9e39}
.index_menu li:nth-child(2) div{ background:#53c356}
.index_menu li:nth-child(3) div{ background:#f15b6c}
.index_menu li:nth-child(4) div{ background:#6199f9}
.index_menu li:nth-child(5) div{ background:#b65dea}
.index_menu li:nth-child(6) div{ background:#5d9af5}
.index_menu li:nth-child(7) div{ background:#6098f9}
.index_menu li:nth-child(8) div{ background:#53c356}


@@media (max-width: 1350px) {
  #bbp{  width:55%;  }
  }

@@media (max-width: 1200px) {
  #bbp{  width:45%;      }
 }
    .wrapper {
        text-align: center;
        float: left;
        margin-top: 70px;
        width: 340px;
        /*margin-left: 70px;*/
    }

    .steps { /*圆的线*/
        margin: 0 auto;
        height: 350px;
        list-style: none;
        width: 350px;
        z-index: 0;
        position: relative;
        color: #000;
        border: 2px solid #1d89e4;
        border-radius: 50%;
    }

        .steps img {
            width: 310px;
        }

    .steps__icon {
        padding-top: 65px;
        margin-left: 0px;
    }

    .steps__description {
        padding: 0em 4em;
        position: absolute;
        margin-top: 10px;
        font-size: 0.9em;
    }

        .steps__description span {
            font-weight: bold;
            padding-right: 0.3em;
            color: #c60e58
        }

        .steps__description a {
            -moz-transition: all 0.5s ease-in-out;
            -o-transition: all 0.5s ease-in-out;
            -webkit-transition: all 0.5s ease-in-out;
            -ms-transition: all 0.5s ease-in-out;
            transition: all 0.5s ease-in-out;
            border: 1px solid #373232;
            border-radius: 0.2em;
            color: #373232;
            text-decoration: none;
            display: inline-block;
            padding: 0.2em 0.5em;
            margin-top: 0.6em;
            font-size: 0.9em;
        }

            .steps__description a:hover {
                border: 1px solid #fff;
                color: #fff;
                background: #373232;
            }

    .is-active a {
        background: #af073b !important;
    }




    #steps-menu ul li {
        -moz-transition: all 1.2s ease-in-out;
        -o-transition: all 1.2s ease-in-out;
        -webkit-transition: all 1.2s ease-in-out;
        -ms-transition: all 1.2s ease-in-out;
        transition: all 1.2s ease-in-out;
        border-left: 140px solid transparent;
        border-top: 1px solid transparent;
        font-size: 0.65em;
        left: 50%;
        list-style: none;
        position: absolute;
        top: 50%;
        transform-origin: 0 0;
    }

        #steps-menu ul li:after {
            content: " ";
            /*background: url(../img/shell/w.png) red;*/
            width: 0.7em;
            height: 0.4em;
            margin-left: -0.14em;
            margin-top: -2.1em;
            position: absolute;
            font-size: 3.5em;
            background-size: 100%;
            background-color: transparent;
            transform: rotate(-29deg);
            background-repeat: no-repeat;
        }

        #steps-menu ul li a {
            -moz-transition: all 0.5s ease-in-out;
            -o-transition: all 0.5s ease-in-out;
            -webkit-transition: all 0.5s ease-in-out;
            -ms-transition: all 0.5s ease-in-out;
            transition: all 0.5s ease-in-out;
            background: #FFB533;
            color: #fff;
            text-decoration: none;
            position: absolute;
            border: 2px solid #fff;
            border-radius: 50%;
            text-align: center;
            height: 70px;
            width: 70px;
            line-height: 70px;
            box-shadow: 0 0 0 0 transparent;
        }

            #steps-menu ul li a i {
                font-size: 40px;
            }

            #steps-menu ul li a:hover {
                background: #af073b;
                box-shadow: 0 0 0px 3px #af073b;
            }

    .step-1 ul li:nth-of-type(1) { /*97*/
        transform: rotate(-97deg);
    }

        .step-1 ul li:nth-of-type(1) a {
            transform: rotate(97deg);
        }

    .step-2 ul li:nth-of-type(1) { /*157*/
        transform: rotate(-169deg);
    }

        .step-2 ul li:nth-of-type(1) a {
            transform: rotate(169deg);
        }

    .step-3 ul li:nth-of-type(1) { /*217*/
        transform: rotate(-241deg);
    }

        .step-3 ul li:nth-of-type(1) a {
            transform: rotate(241deg);
        }

    .step-4 ul li:nth-of-type(1) { /*277*/
        transform: rotate(-313deg);
    }

        .step-4 ul li:nth-of-type(1) a {
            transform: rotate(313deg);
        }

    .step-5 ul li:nth-of-type(1) { /*337*/
        transform: rotate(-385deg);
    }

        .step-5 ul li:nth-of-type(1) a {
            transform: rotate(385deg);
        }






    .step-1 ul li:nth-of-type(2) { /*-37*/
        transform: rotate(-25deg);
    }

        .step-1 ul li:nth-of-type(2) a {
            transform: rotate(25deg);
        }

    .step-2 ul li:nth-of-type(2) { /*97*/
        transform: rotate(-97deg);
    }

        .step-2 ul li:nth-of-type(2) a {
            transform: rotate(97deg);
        }

    .step-3 ul li:nth-of-type(2) { /*157*/
        transform: rotate(-169deg);
    }

        .step-3 ul li:nth-of-type(2) a {
            transform: rotate(169deg);
        }

    .step-4 ul li:nth-of-type(2) { /*217*/
        transform: rotate(-241deg);
    }

        .step-4 ul li:nth-of-type(2) a {
            transform: rotate(241deg);
        }

    .step-5 ul li:nth-of-type(2) { /*277*/
        transform: rotate(-313deg);
    }

        .step-5 ul li:nth-of-type(2) a {
            transform: rotate(313deg);
        }





    .step-1 ul li:nth-of-type(3) { /*23*/
        transform: rotate(47deg);
    }

        .step-1 ul li:nth-of-type(3) a {
            transform: rotate(-47deg);
        }

    .step-2 ul li:nth-of-type(3) { /*37*/
        transform: rotate(-37deg);
    }

        .step-2 ul li:nth-of-type(3) a {
            transform: rotate(37deg);
        }

    .step-3 ul li:nth-of-type(3) { /*97*/
        transform: rotate(-97deg);
    }

        .step-3 ul li:nth-of-type(3) a {
            transform: rotate(97deg);
        }

    .step-4 ul li:nth-of-type(3) { /*157*/
        transform: rotate(-169deg);
    }

        .step-4 ul li:nth-of-type(3) a {
            transform: rotate(169deg);
        }

    .step-5 ul li:nth-of-type(3) { /*217*/
        transform: rotate(-241deg);
    }

        .step-5 ul li:nth-of-type(3) a {
            transform: rotate(241deg);
        }





    .step-1 ul li:nth-of-type(4) { /*83*/
        transform: rotate(119deg);
    }

        .step-1 ul li:nth-of-type(4) a {
            transform: rotate(-119deg);
        }

    .step-2 ul li:nth-of-type(4) { /*23*/
        transform: rotate(47deg);
    }

        .step-2 ul li:nth-of-type(4) a {
            transform: rotate(-47deg);
        }

    .step-3 ul li:nth-of-type(4) { /*37*/
        transform: rotate(-25deg);
    }

        .step-3 ul li:nth-of-type(4) a {
            transform: rotate(25deg);
        }

    .step-4 ul li:nth-of-type(4) { /*97*/
        transform: rotate(-97deg);
    }

        .step-4 ul li:nth-of-type(4) a {
            transform: rotate(97deg);
        }

    .step-5 ul li:nth-of-type(4) { /*157*/
        transform: rotate(-169deg);
    }

        .step-5 ul li:nth-of-type(4) a {
            transform: rotate(169deg);
        }



    .step-1 ul li:nth-of-type(5) { /*143*/
        transform: rotate(191deg);
    }

        .step-1 ul li:nth-of-type(5) a {
            transform: rotate(-191deg);
        }

    .step-2 ul li:nth-of-type(5) { /*83*/
        transform: rotate(119deg);
    }

        .step-2 ul li:nth-of-type(5) a {
            transform: rotate(-119deg);
        }

    .step-3 ul li:nth-of-type(5) { /*23*/
        transform: rotate(47deg);
    }

        .step-3 ul li:nth-of-type(5) a {
            transform: rotate(-47deg);
        }

    .step-4 ul li:nth-of-type(5) { /*37*/
        transform: rotate(-25deg);
    }

        .step-4 ul li:nth-of-type(5) a {
            transform: rotate(25deg);
        }

    .step-5 ul li:nth-of-type(5) { /*97*/
        transform: rotate(-97deg);
    }

        .step-5 ul li:nth-of-type(5) a {
            transform: rotate(97deg);
        }



    .step-content {
        display: none;
    }

    #step-1 {
        display: block;
    }


</style>
}
<div class="index_v1_right">

    <div class="container">


        <div class="wrapper">
            <div id="steps" class="steps">

                <div id="step-1" class="step-content">
                    <img src="~/Content/img/n2.png" onerror="this.onerror=null; this.src='img/step1.png'" class="steps__icon">

                </div>
                <div id="step-2" class="step-content">
                    <img src="~/Content/img/n2.png" onerror="this.onerror=null; this.src='img/step2.png'" class="steps__icon">

                </div>
                <div id="step-3" class="step-content">
                    <img src="~/Content/img/n2.png" onerror="this.onerror=null; this.src='img/step3.png'" class="steps__icon">

                </div>
                <div id="step-4" class="step-content">
                    <img src="~/Content/img/n2.png" onerror="this.onerror=null; this.src='img/step4.png'" class="steps__icon">

                </div>
                <div id="step-5" class="step-content">
                    <img src="~/Content/img/n2.png" onerror="this.onerror=null; this.src='img/step5.png'" class="steps__icon">

                </div>

                <div id="steps-menu" class="step-1">
                    <ul>
                        <li class="is-active"><a id="link1" href="#step-1"><i class="iconfont icon-bangong"></i></a></li>
                        <li><a id="link2" href="#step-2"><i class="iconfont icon-gongwen"></i></a></li>
                        <li><a id="link3" href="#step-3"><i class="iconfont icon-dingqishiwu"></i></a></li>
                        <li><a id="link4" href="#step-4"><i class="iconfont icon-shuju"></i></a></li>
                        <li><a id="link5" href="#step-5"><i class="iconfont icon-xitong"></i></a></li>

                    </ul>
                </div>
            </div>
        </div>


        <div id="bbp">

            <div class="index_menu" id="con1">
                <ul>
                    <li><a href="javascript: void(0)" onclick="parent.createTab('11','公告管理','@Url.Action("Index","Notify",new { area="Common"})')"><div><i class="iconfont icon-gg"></i></div>公告管理</a></li>
                    <li><a href="javascript: void(0)"><div><i class="iconfont icon-h-duty"></i></div>值班管理</a></li>
                    <li><a href="javascript: void(0)"><div><i class="iconfont icon-h-vehicle"></i></div>车辆管理</a></li>
                    <li><a href="javascript: void(0)"><div><i class="iconfont icon-fingerprint__"></i></div>考勤管理</a></li>
                    <li><a href="javascript: void(0)"><div><i class="iconfont icon-dingcan"></i></div>订餐管理</a></li>
                    <li><a href="javascript: void(0)"><div><i class="iconfont icon-huiyikaihuitaolun"></i></div>会议管理</a></li>
                    <li><a href="javascript: void(0)"><div><i class="iconfont icon-zichan"></i></div>资产管理</a></li>
                    <li><a href="javascript: void(0)"><div><i class="iconfont icon-shuju"></i></div>资料管理</a></li>
                </ul>
            </div>
            <div class="index_menu" id="con2" style="display:none">
                <ul>
                    <li><a href="#"><div><i class="iconfont icon-gg"></i></div>公告管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-h-duty"></i></div>值班管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-huiyikaihuitaolun"></i></div>会议管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-zichan"></i></div>资产管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-shuju"></i></div>资料管理</a></li>
                </ul>
            </div>
            <div class="index_menu" id="con3" style="display:none">
                <ul>
                    <li><a href="#"><div><i class="iconfont icon-gg"></i></div>公告管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-h-duty"></i></div>值班管理</a></li>

                    <li><a href="#"><div><i class="iconfont icon-zichan"></i></div>资产管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-shuju"></i></div>资料管理</a></li>
                </ul>
            </div>
            <div class="index_menu" id="con4" style="display:none">
                <ul>
                    <li><a href="#"><div><i class="iconfont icon-gg"></i></div>公告管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-h-duty"></i></div>值班管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-h-vehicle"></i></div>车辆管理</a></li>

                </ul>
            </div>
            <div class="index_menu" id="con5" style="display:none">
                <ul>

                    <li><a href="#"><div><i class="iconfont icon-huiyikaihuitaolun"></i></div>会议管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-zichan"></i></div>资产管理</a></li>
                    <li><a href="#"><div><i class="iconfont icon-shuju"></i></div>资料管理</a></li>
                </ul>
            </div>
            <!-- <h1 id="title">公文管理</h1>
             <p id="content1">公文管理介绍公文管理介绍公文管理介 绍公文管理介绍公文 1管理介绍公文管理 2介绍公文管理介绍公文管理介绍...</p>-->
        </div>


    </div>

</div>
<!-- right-tab结束 -->
@section scripts{
<script>

    $(document).ready(function () {
        $("#steps-menu a").click(function (event) {
            // Replaces main content
            event.preventDefault();
            $(this).parent().addClass("is-active");
            $(this).parent().siblings().removeClass("is-active");
            var step = $(this).attr("href");
            $(".step-content").not(step).css("display", "none");
            $(step).fadeToggle();

            // Rotates the wheel
            $("#steps-menu").removeClass();
            var stepClass = step.charAt(6);
            $("#steps-menu").addClass("step-" + stepClass);
            switch ((stepClass - 0)) {
                case 1:
                    $(".index_menu").hide();
                    $("#con1").show();
                    //$("#title").text("公文管理");
                    // $("#content1").text("公文管理介绍");

                    break;
                case 2:
                    $(".index_menu").hide();
                    $("#con2").show();

                    break;
                case 3:
                    $(".index_menu").hide();
                    $("#con3").show();

                    break;
                case 4:
                    $(".index_menu").hide();
                    $("#con4").show();

                    break;
                case 5:
                    $(".index_menu").hide();
                    $("#con5").show();

                    break;
                default:
                    $(".index_menu").hide();
                    $("#con1").show();
                    break;
            }
            currentNum = step.substr(6, 1) - 0 + 1;

        });


        //slideshow style interval
        var autoSwap = setInterval(swap, 5000);
        var currentNum = 2;
        //pause slideshow and reinstantiate on mouseout
        $('#read-more a, #steps-menu a').hover(
            function () {
                clearInterval(autoSwap);
            },
            function () {
                autoSwap = setInterval(swap, 5000);
            });

        //swap img function
        function swap(action) {
            $("#bbp").fadeOut(100);

            $("#steps-menu li a:eq(" + (currentNum - 1) + ")").parent().addClass("is-active");
            $("#steps-menu li a:eq(" + (currentNum - 1) + ")").parent().siblings().removeClass("is-active");
            var step = $("#steps-menu li a:eq(" + (currentNum - 1) + ")").attr("href");
            $(".step-content").not(step).css("display", "none");
            $(step).fadeToggle();

            // Rotates the wheel
            $("#steps-menu").removeClass();
            var stepClass = step.charAt(6);
            $("#steps-menu").addClass("step-" + stepClass);

            switch (currentNum) {
                case 1:
                    $(".index_menu").hide();
                    $("#con1").show();
                    //$("#title").text("公文管理");
                    // $("#content1").text("公文管理介绍");

                    break;
                case 2:
                    $(".index_menu").hide();
                    $("#con2").show();

                    break;
                case 3:
                    $(".index_menu").hide();
                    $("#con3").show();

                    break;
                case 4:
                    $(".index_menu").hide();
                    $("#con4").show();

                    break;
                case 5:
                    $(".index_menu").hide();
                    $("#con5").show();

                    break;
                default:
                    $(".index_menu").hide();
                    $("#con1").show();
                    break;
            }


            $("#bbp").fadeIn(800);


            currentNum += 1;
            if (currentNum == 6) {
                currentNum = 1;
            }


        }

    });
    </script>
}